<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>watermark-js-plus</title>
  <script src="https://www.unpkg.com/watermark-js-plus@1.5.8/dist/ie/index.iife.js"></script>
</head>
<body>
test
<div id="result"></div>
<script>
  WatermarkPlus.BlindWatermark.decode({
    compositeOperation: 'overlay',
    compositeTimes: 6,
    url: '',
    onSuccess: function(imageBase64) {
      console.log(imageBase64);
      document.getElementById('result').innerHTML = '<img src="' + imageBase64 + '"/>' + imageBase64;
    }
  });
</script>
</body>
</html>
